package MicronautTest.ioc;

import javax.inject.Singleton;

@Singleton
public class V8Engine implements Engine {

    private int mCylinders = 8;

    @Override
    public String start() {
        return "Starting V8";
    }

    @Override
    public int getCylinders() {
        return mCylinders;
    }

    public void setCylinders(int cylinders) {
        mCylinders = cylinders;
    }
}
